package org.michael.u.brg.by.spring.aop.abcthreads;

/**
 * Handles AOP pointcuts, methods on this class are configured by the Spring AOP to call these
 * methods when before/after starting related threads.
 */
public class ThreadTracker {

	void threadExecA(RunnerA callee) {
		System.out.printf("%n---- thread A run, thread id=%d, runner id=%d"
            , callee.getId(), callee.getRunnerId());
	}

	void threadExecB(RunnerB callee) {
		System.out.printf("%n---- thread B run, runner id=%d", callee.getId());
	}

	void threadExecC(RunnerC callee) {
		System.out.printf("%n---- thread C run, runner id=%d", callee.getId());
	}
}
